package A14;

public class AliPay extends Payment {
    private String number; // 支付宝账号（手机号/邮箱）

    public AliPay(double amount, String number) {
        super(amount);
        this.number = number;
    }

    // getter/setter
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
}